<?php
ob_start();
if(!isset($_SESSION)) 
{ 
session_start(); 
} 
include '../operations/connection.php';

$idemp = $_REQUEST['empl'];
$namlabel = $_REQUEST['vlNameLabel1'];

if(isset($_REQUEST['createlabel'])){
	$sql="insert into list_lable(LableName,IDEmployee) values ('".$namlabel."','".$idemp."')";
		mysql_query($sql);
}

mysql_close($connection);


if(isset($_REQUEST['createlabel'])){
	header("Location: ../menu.php");
}
ob_flush();
?>